package com.ruoyi.product.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品价格对象 t_product_price
 *
 * @author tanfp
 * @date 2020-12-27
 */
@Data
public class ProductPrice extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    private Long productId;

    /**
     * 商品单位，比如盒，份，个
     */
    @Excel(name = "商品单位，比如盒，份，个")
    private String unit;

    /**
     * 商品现价
     */
    @Excel(name = "商品现价")
    private BigDecimal productPrice;

    /**
     * 商品原价
     */
    @Excel(name = "商品原价")
    private BigDecimal productOriginPrice;

    /**
     * 该商品是否默认展示该价格
     */
    @Excel(name = "该商品是否默认展示该价格 0否 1是")
    private Integer isDefault;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 0未删除 1已删除
     */
    @Excel(name = "0未删除 1已删除")
    private Integer delStatus;

}
